class EmailerController < ApplicationController
    def sendmail
        message = params[:message]
        recipient = params[:recipient]
        Emailer.deliver_sent(message, session[:user], recipient)
        render :inline => "<body bgcolor=#ffd700>Your message has been sent!</body>"
    end
end
